import 'package:flutter/material.dart';

class HorDisplayWindow extends StatelessWidget {
  HorDisplayWindow({required this.list});

  final List<Widget> list;

  @override
  Widget build(BuildContext context) {
    return Expanded(
      child: Container(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(25.0),
        ),
        child: ListView(
          children: list,
          scrollDirection: Axis.horizontal,
        ),
      ),
    );
  }
}
